being wise after the event

Translations
faire le malin après coup
Definitions
Realizing or understanding what should have been done only after something has happened; showing wisdom or insight about a situation, but only with the benefit of hindsight.